﻿/*
 * Created by SharpDevelop.
 * User: IEscarro
 * Date: 9/7/2009
 * Time: 12:53 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using Buaya.Util;
using Buaya.Gui;
using System.Windows.Forms;

namespace Buaya.Commands
{
	public class ArrangeIcons : AbstractCommand
	{
		public override void Run()
		{
			MainForm.Instance.LayoutMdi(MdiLayout.ArrangeIcons);
		}
	}
	
	public class TileHorizontally : AbstractCommand
	{
		public override void Run()
		{
			MainForm.Instance.LayoutMdi(MdiLayout.TileHorizontal);
		}
	}
	
	public class TileVertically : AbstractCommand
	{
		public override void Run()
		{
			MainForm.Instance.LayoutMdi(MdiLayout.TileVertical);
		}
	}
	
	public class Cascade : AbstractCommand
	{
		public override void Run()
		{
			MainForm.Instance.LayoutMdi(MdiLayout.Cascade);
		}
	}
	
	public class CloseAllChildren : AbstractCommand
	{
		public override void Run()
		{
			MainForm.Instance.CloseAllChildren();
		}
	}
}
